-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 5400 - flagging price stores as favorites #5533
feat: 5400 - flagging price stores as favorites #5533
Conversation
New file: * `favorite_location_helper.dart`: Helper used to set/unset/sort stores as user favorites. Impacted files: * `dao_string_list.dart`: added a key for favorite price stores * `search_location_preloaded_item.dart`: added a "favorite" `IconButton` for price locations
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5533 +/- ##
==========================================
- Coverage 9.54% 6.96% -2.59%
==========================================
Files 325 400 +75
Lines 16411 21172 +4761
==========================================
- Hits 1567 1474 -93
- Misses 14844 19698 +4854 ☔ View full report in Codecov by Sentry. |
|
I have no problems with ordering favorites by date. That's what I implemented before removing that part.
Makes sense. My current code and current assumption:
|
We could make the favorite part collapsible @monsieurtanuki |
Too fancy for me, as a user and a coder. I'd let someone else code it. I would suggest to do it step by step and get feedbacks from real life.
@teolemon I assume that you added prices in many many stores, and your opinion on the UX after testing the merged PR would be a good start for the next step. |
Usually, you have several "big locations": Near my home, Near my parents, Holidays. But that suggests a more complex UI. I'm going to approve and we'll iterate @monsieurtanuki |
Thank you @teolemon for your review! Obviously many possible improvements. |
What
Screenshot
Fixes bug(s)
Files
New file:
favorite_location_helper.dart
: Helper used to set/unset/sort stores as user favorites.Impacted files:
dao_string_list.dart
: added a key for favorite price storessearch_location_preloaded_item.dart
: added a "favorite"IconButton
for price locations